package com.bingxue.edu.management.system.model.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 定时任务日志信息
 *
 * @author panbo
 * @since 2024/08/02 13:34
 */
@Data
@Schema(description = "定时任务日志信息")
public class ScheduleJobLogResp {

    @Schema(description = "id")
    private String id;

    @Schema(description = "任务id")
    private String jobId;

    @Schema(description = "任务名称")
    private String jobName;

    @Schema(description = "定时表达式")
    private String cron;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "耗时(s)")
    private Integer elapsedSeconds;

    @Schema(description = "运行状态")
    private String runStatus;

    @Schema(description = "数据计数")
    private Integer dataCount;

}
